<div class="log_top">
	<div style="width:980px;height:38px;text-align:right;margin:auto">
	<? if(isset($_SESSION['user_name'])){ echo "欢迎,".$_SESSION['user_name']; 
echo "&nbsp;<a href=\"?action=exit\">安全退出</a>  |<a href='member.php?cityid=$cityid'> 我的账户 </a>";
} else {?><a href="login.php">会员登录</a> | <a href="reg.php">免费注册</a>
<? } ?>
	
    <a href="#">帮助中心</a>
    </div>
</div>

<!--头部导航-->
<div class="head">
	<div class="logo"><img src="images/logo.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;<img src="images/logo2.png" /></div>
    <div class="pt55 line30 pl50 f_l"><h3 class="address">
    <? echo $info->getCityName($cityid);?>
    </h3> [<a href="city.php">切换城市</a>]</div>
    <div class="f_l">
    <form id="form1" name="form1" method="post" action="on.php" class="search">
    <input type="text" name="keyword" id="keyword" value="" class="s_input">
    <input type="submit" value="" class="go" style="cursor:pointer;">
    </form>
    </div>
</div>
<div class="h35 bg1">
	<div class="w980 mauto">
	<ul class="nav">
    	<li><a href="index.php?cityid=<?=$cityid?>" class="c1">首页</a></li>
        <li><a href="oncate.php?hid=110&cityid=<?=$cityid?>" class="c2">2G号码套包</a></li>
        <li><a href="3gdinner.php?cityid=<?=$cityid?>" class="c3">3G开户</a></li>
        <li><a href="in.php?hid=112&cityid=<?=$cityid?>" class="c4">积分商城</a></li>
    </ul>
    <div class="f_r w295 h28 mt5">
    	<div style="width:218px;height:28px;float:left; background:url(images/cart.png);line-height:28px; text-indent:50px">购物车里有<a href="cart.php?cityid=<?=$cityid?>"><? echo  $info->getCartNum();?></a>件商品</div>
        <a href="cart.php?cityid=<?=$cityid?>"><img src="images/go_shop.jpg" /></a>
    </div>
    </div>
</div>
<!--#头部导航-->